<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>修改产地</title>
    <!-- 引入Bootstrap和自定义样式 -->
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?" rel="stylesheet">
    <link href="css/font-awesome.css?" rel="stylesheet">

    <!-- jqgrid-->
    <link href="css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
</head>

<body>
<div class="ibox-title">
    <div class="ibox-title actions-container">
        <button id="return" type="button" class="btn btn-primary btn-sm">
            <a href="/toAddProduct" style="color: white;">返回</a>
        </button>
    </div>
    <form class="form-horizontal m-t" id="updatePlaceForm" action="/updatePlace" enctype="multipart/form-data">
        <input type="hidden" name="place_id" th:value="${place.place_id}">
        <div class="form-group">
            <label class="col-sm-3 control-label">产地名</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="placeName" name="place_name" th:value="${place.place_name}" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">产地描述</label>
            <div class="col-sm-8">
                <textarea class="form-control" id="introduce" name="introduce" rows="3" th:value="${place.introduce}" required="" ></textarea>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">是否启用：</label>
            <div class="col-sm-8">
                <div class="row">
                        <select class="form-control" style="height: 34px;" required="">
                            <option value="1">启用</option>
                            <option value="0">禁止</option>
                        </select>
                </div>
            </div>
        </div>


        <div class="form-group">
            <div class="col-sm-8 col-sm-offset-3">
                <button type="submit" class="btn btn-primary">修改</button>
            </div>
        </div>
    </form>
</div>

<!-- 引入jQuery和Bootstrap的JavaScript文件 -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>